package com.wys.proxydemo.myjdk;

import com.wys.proxydemo.common.Person;

import java.lang.reflect.Method;
import java.lang.reflect.UndeclaredThrowableException;
public class $Proxy0 implements Person{

    private GSInvocationHandler h;

    public $Proxy0(GSInvocationHandler h) {
        this.h = h;
    }

    public Object eat(String string0) {
        try {
            Method m = Person.class.getMethod("eat",new Class[]{String.class});
            return this.h.invoke(this,m,new Object[]{string0});
        } catch(Error _ex) {

        } catch(Throwable e){
            throw new UndeclaredThrowableException(e);
        }
        return null;
    }

}
